package com.becca.cake.model.users;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户支付流水实体
 * @copyright  尊星(上海)信息科技有限公司
 * @author hejinguo
 * @date 2016年4月10日 上午10:23:35
 */
public class UserPaymentsModel implements Serializable {

    /**  */
    private static final long serialVersionUID       = 8857154373397714867L;
    /**支付状态(1:成功)*/
    public static final Byte  PAYMENT_STATUS_SUCCESS = 1;

    private Integer           id;
    /**用户ID*/
    private Integer           userId;
    /**订单ID*/
    private Integer           orderId;
    /**支付总额*/
    private Double            totalAmount;
    /**支付状态(0:失败  1:成功)*/
    private Byte              status;
    /**支付类型(0:微信  1:支付宝)*/
    private Byte              payWays;
    /**支付单号*/
    private String            payNo;
    /**支付时间*/
    private Date              payDate;
    /**备注*/
    private String            remark;
    /**创建时间*/
    private Date              createdDate;
    /**创建人*/
    private String            createdName;
    /**修改时间*/
    private Date              updatedDate;
    /**修改人*/
    private String            updatedName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getPayWays() {
        return payWays;
    }

    public void setPayWays(Byte payWays) {
        this.payWays = payWays;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getCreatedName() {
        return createdName;
    }

    public void setCreatedName(String createdName) {
        this.createdName = createdName;
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    public String getUpdatedName() {
        return updatedName;
    }

    public void setUpdatedName(String updatedName) {
        this.updatedName = updatedName;
    }

    @Override
    public String toString() {
        return "UserPaymentsDO [id=" + id + ", userId=" + userId + ", orderId=" + orderId
               + ", totalAmount=" + totalAmount + ", status=" + status + ", payWays=" + payWays
               + ", payNo=" + payNo + ", payDate=" + payDate + ", remark=" + remark
               + ", createdDate=" + createdDate + ", createdName=" + createdName + ", updatedDate="
               + updatedDate + ", updatedName=" + updatedName + "]";
    }

}
